export const getFirstImageUrl = (content) => {
  try {
    const imgTagMatch = content.match(/<img[^>]*src=["']([^"']*)["']/i);
    return imgTagMatch ? imgTagMatch[1] || "" : "";
  } catch (e) {
    return "";
  }
};
